import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SActive
    
    export  class SActive
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeLong(this.id);
            arg1.writeInt(this.code);
            arg1.writeString(this.name);
            arg1.writeInt(this.loopType);
            arg1.writeInt(this.status);
            arg1.writeDate(this.startDt);
            arg1.writeDate(this.endDt);
            arg1.writeInt(this.startDate);
            arg1.writeInt(this.endDate);
            arg1.writeString(this.content);
            arg1.writeInt(this.flag);
            arg1.writeString(this.modulus);
            arg1.writeInt(this.minLevel);
            arg1.writeInt(this.maxLevel);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.id = arg1.readLong();
            this.code = arg1.readInt();
            this.name = arg1.readString();
            this.loopType = arg1.readInt();
            this.status = arg1.readInt();
            this.startDt = arg1.readDate();
            this.endDt = arg1.readDate();
            this.startDate = arg1.readInt();
            this.endDate = arg1.readInt();
            this.content = arg1.readString();
            this.flag = arg1.readInt();
            this.modulus = arg1.readString();
            this.minLevel = arg1.readInt();
            this.maxLevel = arg1.readInt();
            return;
        }

        public /* var */id: number;

        public /* var */code: int;

        public /* var */name: string;

        public /* var */loopType: int;

        public /* var */status: int;

        public /* var */startDt: Date;

        public /* var */endDt: Date;

        public /* var */startDate: int;

        public /* var */endDate: int;

        public /* var */content: string;

        public /* var */flag: int;

        public /* var */modulus: string;

        public /* var */minLevel: int;

        public /* var */maxLevel: int;
    }
